package com.example.shop.ov;


import lombok.Data;

import javax.validation.constraints.NotBlank;

@Data
public class AdminOv {
    @NotBlank(message = "管理员姓名不能为空！")
    private String username;
    @NotBlank(message = "管理员账号不能为空！")
    private String phone;
    @NotBlank(message = "管理员邮箱不能为空！")
    private String email;
    @NotBlank(message = "管理员密码不能为空！")
    private String password;
    private String comfirmPassword;
}
